package xyhoo.springframework.beans.factory.parsing;

import xyhoo.springframework.core.io.Resource;
import xyhoo.springframework.util.Assert;

public class Location {

    private final Resource resource;

    private final Object source;

    public Location(Resource resource, Object source) {
        Assert.notNull(resource, "Resource must not be null");
        this.resource = resource;
        this.source = source;
    }
}
